<?php
// +-----------------------+
// | 注释不留名，代码随便用 |
// +-----------------------+


namespace app\common\library\order\action;


use app\common\library\order\Action;

class AdminOperation implements Action
{
    public function unpaid(){
        return [
            'text' => '未支付',
            'desc' => '新订单，未支付',
            'btn' => [

            ],
        ];
    }

    public function paid(){
        return [
            'text' => '待发货',
            'desc' => '用户已支付,待商家发货',
            'btn'  => [
                ['operate' => 'send'],
            ],
        ];
    }

    public function send(){
        return [
            'text'  => '已发货',
            'desc'  => '已发货，待用户收货！',
            'btn'   => [
                ['operate' => 'alterexpress'],
                ['operate' => 'express'],
            ]
        ];
    }




    public function evaluate(){
        return [
            'text' => '待评论',
            'desc' => '已收货，未评论',
            'btn'  => [

            ],
        ];
    }

    public function finish(){
        return [
            'text'  => '已完成',
            'desc'  => '交易完成',
            'btn'   => [

            ]
        ];
    }


}